package com.hhp.cloud.shop.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.hhp.cloud.shop.admin.pojo.entity.PermissionEntity;

import java.util.List;

/**
 * 权限表
 *
 * @author hhp
 * @email 2437579794@qq.com
 * @date 2021-11-23 10:25:33
 */
public interface PermissionService extends IService<PermissionEntity> {

    boolean refreshPermRolesRules();

    List<PermissionEntity> listPermRoles();

    /**
     * 根据角色编码集合获取按钮权限标识
     * @param roles
     * @return
     */
    List<String> listBtnPermByRoles(List<String> roles);
}

